package adapter;

import emergency.TrafficAccident;


public class ATrafficAccidentView extends AEmergency implements be.kuleuven.cs.swop.api.ITrafficAccidentView {

	public ATrafficAccidentView(TrafficAccident em) {
		super(em);
	}

	@Override
	public int getNumberOfCars() {
		TrafficAccident em = (TrafficAccident)super.getEmergency();
		return em.getNumberOfCars();

	}

	@Override
	public int getNumberOfInjured() {
		TrafficAccident em = (TrafficAccident)super.getEmergency();
		return em.getNumberOfInjured();
	}

}
